// 底部

.e-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px e-get($e-page-padding, desktop);
    background: #fff;

    .e-footer-copyright {
        display: flex;
        margin: 0;
        padding: 0 1.25rem 0 0;
        font-size: 1rem;
        font-weight: 400;
        justify-content: flex-start;
        color: e-base-color(label, 2);
    }

    .e-footer-menu {
        display: flex;
        justify-content: flex-end;
        padding: 0 0 0 .75rem;
        margin: 0;

        .e-footer-menu-link {
            margin: 0 0 0 1.25rem;
            padding: 0;
            font-size: 1rem;
            font-weight: 400;
            @include e-link-color(e-base-color(label, 3), e-brand-color());

            .e-link {
                @include e-link-color(e-base-color(label, 3), e-brand-color())
            }
        }
    }
}
// 桌面
@include e-desktop {
    .e-footer {
        .e-footer--fixed & {
            position: fixed;
            transition: e-get($e-aside-config, base, minimize, transition);
            height: e-get($e-footer-config, base, fixed, height);
            z-index: e-get($e-footer-config, base, fixed, z-index);
            bottom: 0;
            right: 0;
            left: e-get($e-aside-config, base, default, width);
            box-shadow: 0 0 28px 0 rgba(82, 63, 105, .13)
        }

        // 收起侧边时，鼠标hover时为侧边留出位置
        .e-aside--minimize-hover.e-footer--fixed &,
        .e-aside--minimize.e-footer--fixed & {
            transition: e-get($e-aside-config, base, minimize, transition);
            left: e-get($e-aside-config, base, minimize, width);
        }
    }
}
// pad & 手机
@include e-tablet-and-mobile {
    .e-footer {
        padding: 12px e-get($e-page-padding, mobile);

        flex-direction: column;
        justify-content: center;

        .e-footer-copyright, .e-footer-menu {
            justify-content: center;
            padding: 5px;
            order: 2;
        }
    }
}

// 设置隐藏footer
.hide-footer {
    .e-footer {
        display: none !important;
    }
}